package com.example.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Resourcegroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "resourceGroupId", type = IdType.AUTO)
    private Integer resourceGroupId;

    /**
     * 资源组名称
     */
    @TableField("resourceGroupName")
    private String resourceGroupName;

    /**
     * 资源组编号
     */
    @TableField("resourceGroupNO")
    private String resourceGroupNO;

    @TableField("resourceGroupParentId")
    private Integer resourceGroupParentId;

    @TableField("type")
    private String type;

//    @ApiModelProperty(value = "子资源组列表")
//    @TableField(exist = false)
//    private List<Resourcegroup> sonGroup;
}
